package com.canqiang.contact;

import java.util.Collection;

public class Contact {
	private String contactId;
	private String firstName;
	private String lastName;
	private String dept;
	private Collection<Phone> phones;
	
	public String getContactId() {
		return contactId;
	}
	public void setContactId(String contactId) {
		this.contactId = contactId;
	}
	
	public String getFirstName() {
		return ContactUtility.replaceNull(firstName);
	}
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}
	public String getLastName() {
		return ContactUtility.replaceNull(lastName);
	}
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}
	public String getDept(){
		return ContactUtility.replaceNull(dept);
	}
	public void setDept(String dept){
		this.dept=dept;
	}
	
	public Collection<Phone> getPhones() {
		return phones;
	}
	public void setPhones(Collection<Phone> phones) {
		this.phones = phones;
	}
}
